#@layout()
#define main()
<div class="container-fluid am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
            <div class="page-header-heading"><span class="am-icon-group page-header-heading-icon"></span> 账号设置 <small>add member</small></div>
        </div>
    </div>
</div>
<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-body am-fr">
                    <form action="/admin/user/updateByUser" class="am-form tpl-form-line-form">
                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label">头像 <span class="tpl-form-line-small-title">avatar</span></label>
                            <div class="am-u-sm-9">
                                <div class="am-form-group am-form-file">
                                    <img class="am-circle" alt="点击图片上传" id="up-avatar-touch" onerror="this.src='/admin/common/AmazeUI/img/user05.png'" src="#(user.avatar??)" data-am-popover="{content: '点击上传', trigger: 'hover focus'}" >
                                    <input type="hidden" class="tpl-form-input" id="avatar-save-path" name="user.avatar" value="#(user.avatar??)" />
                                </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label">账号 <span class="tpl-form-line-small-title">account</span></label>
                            <div class="am-u-sm-9">
                                <span>#(user.account??)</span>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">姓名 <span class="tpl-form-line-small-title">name</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" name="user.name" value="#(user.name??)" placeholder="请输入姓名">
                                <small></small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label">旧密码 <span class="tpl-form-line-small-title">old password</span></label>
                            <div class="am-u-sm-9">
                                <input type="password" id="o-pwd" class="tpl-form-input" name="oldPassword" placeholder="请输入旧密码">
                                <small>#(oldErrorMsg??)</small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label">新密码 <span class="tpl-form-line-small-title">new password</span></label>
                            <div class="am-u-sm-9">
                                <input type="password" id="n-pwd" class="tpl-form-input" name="newPassword" placeholder="请输入新密码">
                                <small>#(newErrorMsg??)</small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label class="am-u-sm-3 am-form-label"></label>
                            <div class="am-u-sm-9">
                                <input type="password" id="re-n-pwd" class="tpl-form-input" name="repeatNewPassword" placeholder="请再次输入新密码">
                                <small>#(repErrorMsg??)</small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <button type="submit" id="update_button" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
#end